package top.longmarch.flow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import top.longmarch.flow.entity.LiteflowChain;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YuYue
 * @since 2024-04-08
 */
public interface ILiteflowChainService extends IService<LiteflowChain> {

    /**
     * 搜索
     *
     * @param params 查询参数
     * @return 带分页的
     */
    IPage<LiteflowChain> search(Map<String, Object> params);

    /**
     * 获取流程列表
     */
    List<LiteflowChain> getChainList();

}
